import request from '@/util/request'

const baseUrl = '' // http://localhost:7778

export function pageGetApp(data) {
  return request({
    url: baseUrl + '/app/pageGet',
    method: 'post',
    data
  })
}

export function getApp(data) {
  return request({
    url: baseUrl + '/app/get',
    method: 'post',
    data
  })
}

export function updateApp(data) {
  return request({
    url: baseUrl + '/app/update',
    method: 'post',
    data
  })
}

export function insertApp(data) {
  return request({
    url: baseUrl + '/app/insert',
    method: 'post',
    data
  })
}

export function listApp(data) {
  return request({
    url: baseUrl + '/app/list',
    method: 'post',
    data
  })
}
export function deleteApp(data) {
  return request({
    url: baseUrl + '/app/delete',
    method: 'post',
    data
  })
}

